#define _CRT_SECURE_NO_WARNINGS 1

class Date
{
public:
	Date()
	{
		_year = 1;
		_month = 1;
		_day = 1;
	}
	//Date(Date d)
	//{
	//	_year = d._year;
	//	_month = d._month;
	//	_day = d._day;
	//}
	Date(Date& d)
	{
		_year = d._year;
		_month = d._month;
		_day = d._day;
	}
private:
	int _year;
	int _month;
	int _day;
};

void func(Date d)
{

}

int main()
{
	Date d1;

	func(d1);

	//Date d2(d1);

	return 0;
}